package com.macro.mall.dto;

import com.macro.mall.model.PmsProduct;
import com.macro.mall.model.PmsSkuStock;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 为了出库显示商品的
 */
@Data
public class PmsOutProductSkuDto extends PmsProduct {
    @ApiModelProperty(value = "商品ID")
    private Long productId;
    @ApiModelProperty(value = "库存")
    private Integer stock;
    @ApiModelProperty(value = "展示图片")
    private String pic;
    @ApiModelProperty(value = "商品名称")
    private String name;
    @ApiModelProperty(value = "商品销售属性，json格式")
    private String spData;
    @ApiModelProperty(value = "skuId")
    private Long skuId;
    @ApiModelProperty(value = "商品表id")
    private Long id;

    private Integer type;
}
